package com.ifugle.rap.application.mapper;

import java.util.List;
import com.ifugle.rap.application.model.UserPet;
import org.apache.ibatis.annotations.Mapper;


@Mapper
public interface UserPetMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserPet record);

    int insertSelective(UserPet record);

    UserPet selectByPrimaryKey(Long id);

    List<UserPet> selectByUserId(Long userId);

    int updateByPrimaryKeySelective(UserPet record);

    int updateByPrimaryKey(UserPet record);

    int updateByUserIdAndPetId(UserPet record);
}
